100 REM LOST DUTCHMAN MINE 110 GOSUB 710 120 SR=0:GL=2020 130 PRINT "SCORE:"SR 140 JY=PEEK(56321):JY=15-(JY AND 15):K=PEEK(197):J=PEEK(653):AL=L 150 POKEL,32:IFJY=1ORJY=5ORJY=9OR(K=7 AND J=1) THEN AL=AL-40 160 IFJY=2ORJY=6ORJY=10OR(K=7 AND J=0)THEN AL=AL+40 170 IF(JY>3 AND JY<7)OR(K=2 AND J=1)THEN AL=AL-1 180 IFJY>7OR(K=2 AND J=0) THENAL=AL+1 190 IFPEEK(AL)<>160THENL=AL 200 IFPEEK(L)=GTHEN380 210 IFPEEK(L)=46THENSR=SR+1 220 IFPEEK(L)=CLTHENSR=SR+100:PRINT"FIND ROOM":FORT=1TO999:NEXT 230 IFPEEK(L)=CLTHENPRINT" " 240 IFL=RLTHEN520 250 IFL=GLTHEN630 260 POKEL,I:LY=INT((L-S)/40):LX=L-S-LY*40 270 NG=3:IFRL=2020THENNG=1 280 FORX=1TONG:M=G(X):POKEM,32 290 GY=INT((M-S)/40):GX=M-S-GY*40 300 IFGXLX AND (PEEK(M-1)<50 OR PEEK(M-1)=I)THENM=M-1 320 IFGY>LY AND (PEEK(M-40)<50 OR PEEK(M-40)=I)THENM=M-40 330 IFGYINT(INT(X/10)/2)THENPOKE53280,2:POKE53281,2 440 IFINT(X/10)/2<>INT(INT(X/10)/2)THENPOKE53280,14:POKE53281,1 450 POKESO,L:POKESO+1,H:NEXTX 460 POKESO+24,0 470 FORX=1TO2000:NEXTX 480 PRINT"[147]":PRINT:PRINT 490 PRINT"YOU LOSE!":PRINT"MY GHOST GOT YOU!" 500 PRINT:PRINT"HA HA HA HA HA!" 510 GOTO680 520 PRINT"[147]":PRINT"[144]  " 530 FORX=1TO12:PRINT"  ";TAB( 18);" ": NEXTX 540 PRINT"[144]  " 550 S=1106:B=160:BX=49 560 FORX=0TOBX:POKES+40* INT(RND(8)*12)+INT(RND(8)*17),B:NEXTX 570 FORX=55296TO56295:POKEX,0:NEXTX 580 GL=S+40*INT(RND(8)*12)+INT(RND(8)*17):POKEGL,164 590 G=88:FORX=1TO3:G(X)=1513:NEXTX:L=S+8 600 FORX=1TO3:POKEG(X),G:NEXTX:POKEL,I 610 RL=2020 620 FORT=1TO2500:NEXTT:GOTO130 630 FORX=1TO2000:NEXTX 640 PRINT"[147]":PRINT:PRINT 650 PRINTTAB( 11)"YOU FOUND THE GOLD!":PRINT:PRINT 660 PRINTTAB( 11)"FINAL SCORE:"SR*10 670 PRINT:PRINT 680 POKE198,0:PRINTTAB( 14)"PLAY AGAIN";: INPUTQ$ 690 IFLEFT$(Q$,1)="Y"THEN110 700 END 710 PRINT"[147][144]":POKE53281,1 720 PRINT" LOST DUTCHMAN MINE ADVENTURE":PRINT 730 PRINT"SOME TIME AGO, IN ARIZONA'S SUPERSTITION"; 740 PRINT"MOUNTAINS, THE GOLD OF THE LOST" 750 PRINT"DUTCHMAN WAS LOST IN A CAVE.":PRINT 760 PRINT"AS YOU SEARCH THE CAVES BE SURE TO" 770 PRINT"AVOID THE GHOSTS ([216]).":PRINT 780 PRINT"COLLECT DOTS FOR POINTS AND THE" 790 PRINT"MYSTERIOUS CLUES (?[146]) TO HELP YOU ON THE WAY":PRINT 800 PRINT"USE A JOYSTICK OR THE CURSOR KEYS TO MOVE." 810 PRINT: PRINT"ENTER YOUR FIRST INITIAL." 820 GETI$:IFI$=""THEN820 830 IFASC(I$)<65 OR ASC(I$)>90 THEN820 840 PRINT"[147]": PRINT "[144]  " 850 FORX=1TO19:PRINT"  "; TAB( 37);" ": NEXTX 860 PRINT"  " 870 S=1106:B=160:G=146:CL=191:I= ASC (I$)-64 880 BX=249:C=99 890 FORX=55296TO56295:POKEX,0:NEXTX 900 FORX=0TOBX:POKES+40* INT (RND(8)*19)+ INT (RND(8)*35),B:NEXTX 910 FORX=0TOC:POKES+40* INT ( RND(8)*19)+INT (RND(8)*35),46:NEXTX 920 FORX=0TO3:RL=S+40* INT(RND(8)*19)+ INT(RND(8)*35):POKERL,CL:NEXTX 930 G=88:G(1)=1428:G(2)=1458:G(3)=1764:L=S+18 940 FORX=1TO3:POKEG(X),G:NEXTX:POKEL,I 950 RETURN